CIRCUIT flipflop1
INPUT   R    1
INPUT   S    2
OUTPUT  O    3
NOR     2ns  2   3   4
NOR     2ns  1   4   3